class TextInfo {
    
    String name
    String value

    SimpleMenu category
    
    Date startDateTime = new Date()
    Date lastModify = new Date()
    
    static belongsTo = [basicInfo:BasicInfo ]
    
    static constraints = {
        category(nullable:true)        
        name(maxLength:50,blank:false)
        value(maxLength:250,blank:false)
  
    }
    
    String toString() {"${this.name}:${this.value} " }
}
